use crate::components::{resource::resource::ResourceManager, user::user_manager::UserManager};

#[derive(Clone)]
pub enum CommonState {
    Index,
    User(UserManager),
    Resource(ResourceManager),
}

pub struct Header {
    state: CommonState,
}

impl Header {
    pub fn default() -> Self {
        Header {
            state: CommonState::Index,
        }
    }
}

impl Header {
    pub fn header(&mut self, ctx: &egui::Context) {
        
    }
}
